---@class Battle.BuffProbabilityCondition:Battle.IBuffCondition
local t = Battle.CreateClass("BuffProbabilityCondition",Battle.IBuffCondition)
Battle.BuffProbabilityCondition = t
function t:ctor(buff,probability)
    self.probability = probability
end
function t:Check()
    return math.random(10000) < self.probability
end
